<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<style type="text/css">
#top{
width:100%;
height:100px;
background-image:url(images/top.png);
background-size:100% 100%

}
b{
font-size:24px;
color:#000000;
line-height:100px;

}
#left{
width:20%;
height:470px;
float:left;
background-color:#99CCFF
}
#right{
width:69%;
height:470px;
float:right
}
#button{
width:100%;
height:30px;
float:right;
background-color:#cccccc;
text-align:center
}
td{
text-align:center}
</style>

</head>
  
   <body>
      <div id="top">
        <center><b>管理界面</b></center>
      </div>
        <div id="left">
               <table width="200"  height="80" >    
               <tr><td>
               <form action="addstudent.jsp" method="post">
                <input type="submit" value="添加学生">
               </form>
               </td></tr>       
               <tr><td>
               <form action="ShowGrade" method="post">
                <input type="submit" value="查看学生成绩">
               </form>
               </td></tr>        
               <tr><td>
               <form action="ShowCourse" method="post">
                <input type="submit" value="查看课程信息">
               </form>
               </td></tr> 
               <tr><td>
			   <form action="teacher.jsp" method="post">
                <input type="submit" value="返回">
               </form>
			   </td></tr>
               </table>
          </div> 
          <div id="right">
           <table>
  		     <tr>
  				<th>学号</th>
  				<th>密码</th>
  				<th width="90">操作</th>
  		     </tr>
 		<s:iterator value="studentlist">
 			<tr>
				<td><s:property value="stuid"/></td>
				<td><s:property value="stupwd"/></td>
				<td>
					<a href="DelStudent.action?stuid=${stuid}">删除</a>

				</td>
				<td>
					<a href="addgrade.jsp?stuid=${stuid}">录入成绩</a>

				</td>
			</tr>
		</s:iterator>
	</table>
          </div>   
          <div id="button">学生技能展示系统</div>   
  </body>
</html>